package com.yqz.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class SysPageController {

    @RequestMapping("main.do")
    public String main(){
        return "main.jsp";
    }

    /**
     * 部门列表
     * @return
     */
    @RequestMapping("sys/depart.do")
    public String depart(){
        return "depart/list.jsp";
    }

    /**
     * 员工列表
     * @return
     */
    @RequestMapping("sys/user.do")
    public String user(){
        return "user/list.jsp";
    }

    /**
     * 角色列表
     * @return
     */
    @RequestMapping("sys/role.do")
    public  String role(){
        return "role/list.jsp";
    }

    /**
     * 权限列表
     * @return
     */
    @RequestMapping("sys/perm.do")
    public  String perim(){
        return "perm/list.jsp";
    }

    /**
     * 客户记账列表
     * @return
     */
    @RequestMapping("bussi/customer.do")
    public  String customer(){
        return "customer/list.jsp";
    }

    /**
     * 缴费记录
     * @return
     */
    @RequestMapping("bussi/payment.do")
    public  String payment(){
        return "payment/list.jsp";
    }

    /**
     * 个人资料修改页面
     * @return
     */
    @RequestMapping("sys/userInfo.do")
    public  String userInfo(){
        return "sys/userInfo.jsp";
    }
}
